package com.baiduspring.service.user;

import com.baiduspring.dao.entity.UserDetails;
import com.baiduspring.vo.UserDetailsVO;

import java.util.Optional;

public interface UserDetailsService {
    Optional<UserDetails> getByAccount(Long account);

    void merge(UserDetailsVO vo);

    void create(UserDetailsVO vo);

    void modify(UserDetailsVO vo);
}
